#! /usr/bin/python
# -*- coding: UTF-8 -*-

import os.path
import sys

from PyQt4 import QtCore
from PyQt4 import QtGui
from mytwitter_ui import Ui_MainWindow
import os

__BASE_DIR__ = os.path.dirname(os.path.realpath(__file__)) + os.sep

# Include main file
if os.path.isfile(__BASE_DIR__ + 'main.py'):
    execfile(__BASE_DIR__ + 'main.py')

class StartQT4(QtGui.QMainWindow):
	def __init__(self, parent=None):
		QtGui.QWidget.__init__(self, parent)		
		self.ui = Ui_MainWindow()		
		self.ui.setupUi(self)
		self.setWindowTitle(__app_name__)

if __name__ == '__main__':
	app = QtGui.QApplication(sys.argv)
	myapp = StartQT4()
	myapp.show()
	sys.exit(app.exec_())
